package effective_java.design_pattern.command;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Verlet
 * @date 2023-09-30 17:06
 */
public class Order {
    /**
     * 餐牌号码
     */
    private int diningTable;

    /**
     * 用来存储并记下份数
     */
    private Map<String, Integer> foodDic = new HashMap<>();

    public int getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(int diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodDic() {
        return foodDic;
    }

    public void setFoodDic(Map<String, Integer> foodDic) {
        this.foodDic = foodDic;
    }
}
